import {defineConfig, ServerOptions} from 'vite'
import vue from '@vitejs/plugin-vue'
import {resolve} from 'path'
import globalStyle from '@originjs/vite-plugin-global-style'
// https://vitejs.dev/config/
export default defineConfig({
    plugins: [vue(), globalStyle({
        lessEnabled: true
    })],
    server: {
        port: 9000,
        open: false,
        proxy: {}
    },
    resolve: {
        alias: {
            '@': resolve(__dirname, './src'),
            '*': resolve('')
        },
    }
})
